<template>
    <div class="author-info">
        <h2 class="author">布衣博客</h2>
        <el-divider></el-divider>
        <div class="info-item">
            <p>作者：布衣前端</p>
            <p>QQ：1766226354</p>
            <p>地址：website</p>
            <p>项目描述：布衣前端</p>
            <p>座右铭：不积硅步无以至千里，不积小流无以成江海</p>
            <p>承接：个人网站，网页设计，web外包，App制作，系统研发等</p>
            <p class="label-item">作品信息</p>
        </div>
    </div>
</template>
<style lang="scss" scoped>
    .author-info{
        background-color: $bg-color;
        width: 100%;
        height: 100%;
        line-height: initial;
        margin-bottom: 15px;
        padding: 10px 12px;
        border-radius: 8px;
        .author,.info-item{
            box-sizing: border-box;
        }
        .author{
            color: $text-color-main;
            @include common-title();
        }
        .info-item{
            // display: flex;
            // flex-wrap: wrap;
            padding: 4px;
            overflow: hidden;
            position: relative;
            p{
                padding: 4px;
            }
            .label-item{
                color: #fff;
                font-size: 12px;
                background-color: $label-color;
                min-width: 120px;
                text-align: center;
                transform: rotate(50deg);
                -ms-transform:rotate(50deg); 	/* IE 9 */
                -moz-transform:rotate(50deg); 	/* Firefox */
                -webkit-transform:rotate(50deg); /* Safari 和 Chrome */
                -o-transform:rotate(50deg); 	/* Opera */
                position: absolute;
                right: -31px;
                top: 27px;
            }
        }
    }
</style>